package com.codejoys.ssm.exception;

/**
 * 所有业务异常都抛出,都抛出这个TmsException
 */
public class TmsException extends RuntimeException {
    private Integer code;

    public TmsException() {
    }

    public TmsException(Integer code, String message) {
        super(message);
        this.code = code;

    }

    public Integer getCode() {
        return code;
    }

}
